package com.hbx.eduservice.client;

import com.hbx.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author hbx
 * @Date 2023/10/11 20:50
 */
@Component
public class VodFileDegradeFeignClient implements VodClient{
    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("来自Hystrix的问候：删除视频出错了");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("来自Hystrix的问候：删除多个视频出错了");
    }
}
